<html>
<head><meta charset="utf-8"><title>Line 0 in backtrace · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Line.200.20in.20backtrace.html">Line 0 in backtrace</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="179142496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Line%200%20in%20backtrace/near/179142496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Line.200.20in.20backtrace.html#179142496">(Oct 26 2019 at 21:34)</a>:</h4>
<p>I'm currently looking at a backtrace, and the critical line is of course <code>0</code>:</p>
<div class="codehilite"><pre><span></span>  13: std::panicking::begin_panic
             at /home/pfaria/projects/rust/src/libstd/panicking.rs:402
  14: rustc::ty::&lt;impl rustc::ty::context::TyCtxt&gt;::instance_mir
             at src/librustc/ty/mod.rs:0
  15: rustc_mir::monomorphize::collector::collect_neighbours
             at src/librustc_mir/monomorphize/collector.rs:1254
</pre></div>


<p>What causes that, and is there a config I can change to get the line number?</p>



<a name="179147692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Line%200%20in%20backtrace/near/179147692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Line.200.20in.20backtrace.html#179147692">(Oct 27 2019 at 00:32)</a>:</h4>
<p>I've seen this a few times recently... I think <span class="user-mention" data-user-id="120989">@nnethercote</span> filed an issue about it, but not confident</p>



<a name="179147694"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Line%200%20in%20backtrace/near/179147694" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Line.200.20in.20backtrace.html#179147694">(Oct 27 2019 at 00:33)</a>:</h4>
<p>IIRC eddyb is looking into it somewhat</p>



<a name="179193651"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Line%200%20in%20backtrace/near/179193651" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> njn <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Line.200.20in.20backtrace.html#179193651">(Oct 28 2019 at 00:28)</a>:</h4>
<p>I filed <a href="https://github.com/rust-lang/rust/issues/65487" target="_blank" title="https://github.com/rust-lang/rust/issues/65487">https://github.com/rust-lang/rust/issues/65487</a> recently, may be related</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>